home *** CD-ROM | disk | FTP | other *** search
- Path: noc.tor.hookup.net!the-fix.sos.on.ca
- From: <verneb@the-fix.sos.on.ca>
- Date: Sun,14 Jan 96 14:45:42 -0500
- Newsgroups: comp.lang.c
- Subject: Re: Free Pacific C problem
- Message-ID: <tcpnntpd.16.1.14.14.45.42.2781597121.340150@the-fix.sos.on.ca>
- References: <4d9msn$k9p@fohnix.metronet.com>
- Organization: the FIX - Kitchener, Ontario CANADA
- NNTP-Posting-Host: the-fix.sos.on.ca
- X-MajorTCP-Version: MajorTCP/IP [1.80-0]
-
- To: INT:milam@fohnix.metronet
-
- Just had to try this so loaded TC3 and wrote in the code and
- voila it worked. Did the same with Pacific and groan it didn't! You
- know Clyde has does such a nice job on this I hope he does improve it
- or at least in his commercial version has a 'real ansi model'.
-
- I>Clyde Smith-Stubbs (clyde@hitech.com.au) wrote:
- I>: On Sat,6 Jan 96 16:29:54 -0500, <verneb@the-fix.sos.on.ca> wrote:
- I>
- I>: > I have it loaded on my machine too but use TC3 because Pacific is
- I>: >not a true Ansi C program. Just as an example the comment lines //
- I>
- I>: This is an extension, non-ANSI, yes, but I don't believe there are any
- I>: compilers out there that in their default mode accept only strictly
- I>: conforming ANSI C programs. You'd be surprised how many people believe
- I>: that the // comment feature is *already* part of C. It's certain to be
- I>: added in the next release of the standard - just like function
- I>: prototypes were borrowed from C++.
- I>
- I>// may be an extension, but what about the things that are missing which
- I>are
- I>necessary for ANSI compliance? For example, try this program with Pacific
- I>C:
- I>
- I>..h>
- I>#include <stdlib.h>
- I>
- I>int main( void ) {
- I>
- I>printf( "Hello World!\n" );
- I>return EXIT_SUCCESS;
- I>}
- I>
- I>Guess what? It will not even compile. Seems EXIT_SUCCESS is not defined
- I>in
- I>stdlib.h as it should be. Okay, so I fix this and spend the next hour and
- I>a
- I>half getting it to compile a simple hex dump program. There are lots of
- I>ANSI
- I>functions missing from the library.
- I>
- I>: > This is a Beta model you
- I>: >know or we'd have had to pay for it.
- I>
- I>: No it's not - it's a production quality compiler, with a 14 year
- I>: pedigree. It's being given away simply because it's pointless trying
- I>: to *sell* MS-DOS compilers now. The parser, code generator etc. are
- I>: basically the same as our 8086 cross compiler which sells for around
- I>: $1000.
- I>
- I>After 14 years seems like it should really be nearer to ANSI than it is.
- I>Especially since you tout it as an ANSI compiler!
- I>
- I>: ----
- I>: Clyde Smith-Stubbs | HI-TECH Software, | Voice: +61 7 3300
- I>5011
- I>: clyde@hitech.com.au | P.O. Box 103, Alderley, | Fax: +61 7 3300
- I>5246
- I>: http://www.hitech.com.au | QLD, 4051, AUSTRALIA. | BBS: +61 7 3300
- I>5235
- I>:
- I>----------------------------------------------------------------------------
- I>: FREE! Download our shareware (FREE for noncommercial use) MS-DOS C
- I>Compiler!
- I>: Point your Web browser at http://www.hitech.com.au/
- I>
-
- Verne H. Bohlender
- Box 416, Chesley, Ontario.Ca. N0G 1L0
- verneb@The-Fix.sos.on.ca
- ___
- * UniQWK #2158*
-
-